﻿@model List<CSharpDay15__Auth_.Data.Model.ToDo>
@{
    ViewBag.Title = "To Do List!";
}

<br />
@foreach (var t in Model)
{
    <div class="well container">
        <h3>@t.Description</h3>
        <h5><i>Started: </i>@t.DateCreated</h5>
        @{if (t.DateCompleted == null)
        { <h5><i>Not Complete: </i></h5>}
        else
        { <h5><i>Completed: </i>@t.DateCompleted</h5> } }
    </div>
}